package codebot.processor.languages;

import codebot.processor.IScreen;

/**
 * Specific syntax processor for Java
 */
public class Php extends CFamily {

  protected static int DEPTH = CFamily.DEPTH + 1;

  /**
   * @see Lang.java
   */
  @Override
  public void processSpecificSyntax(IScreen screen, String code, int s, int e) {
    KEYWORDS = new String[] { "then", "echo", "function", "foreach", "or",
        "and", "xor", "as", "const", "elseif", "declare", "enddeclare",
        "endfor", "endforeach", "endif", "endswitch", "endwhile", "extends",
        "implements", "interface", "instanceof", "global", "new", "var",
        "public", "private", "protected", "try", "catch", "throw", "final",
        "static", "abstract", "this" };
    //TextProcessor.processGeneralSyntax(screen, code, s, e);
    super.processSpecificSyntax(screen, code, s, e);
  }

  @Override
  public String toString() {
    return "PHP";
  }

}
